<?php

class A {
	public $c;
	
	public function __construct()
	{ echo "A::__construct()<br>";
		                        
		$c = new C();
	}
	
	public function dostuff($b)
	{
		if(!is_null($b))
		{
		 	$this->c->method($b,"lol");
		}
		else       
		{
			$z = 10;
			while($z > 5)
			{
				$z--;
			}
			
			return "pop<br/>";
		}
	}
	
	public function catter($string)
	{
		$this->c->method(null,$string);
		
		$c = 1;
		do{
			echo "A::catter<br/>";
			$c--;
		} while ($c > 0);
		return "boggle";
	}
}

?>